<link rel="stylesheet" href="__STATIC__/home/css/header.css">
<header id="header">
    <div class="header">
        <div class="logo layui-col-xs2">
            <a href="{:url('index/index/index')}"><img src="__STATIC__/home/img/logo1.png" height="90" alt="LOGO"></a>
        </div>
        <div class="nav layui-col-xs6">
            <ul class="layui-nav">
                <li class="layui-nav-item nav1"><a href="{:url('index/index/index')}">首页</a></li>
                <li class="layui-nav-item nav2"><a href="{:url('news/index/index')}">新闻资讯</a></li>
                <li class="layui-nav-item nav3"><a href="{:url('enlist/index/index')}">招聘信息</a></li>
                <li class="layui-nav-item nav4"><a href="{:url('index/index/aboutus')}">关于我们</a></li>
            </ul>
        </div>
        <div class="login layui-col-xs3">
            {if !$Think.session.stu_auth}
            <div>
                <a href="javascript:void(0);" onclick="open_windows('login')"><button class="layui-btn layui-btn-primary" >登录</button></a>
                <a href="javascript:void(0);" onclick="open_windows('register')"><button id="administration_login" class="layui-btn">注册</button></a>
            </div>
            {else/}
            <div>
                <div class="login_head_img">
                    {if !$Think.session.stu_auth.avatar}
                    <img src="__STATIC__/home/img/default_tx.png" width="50" alt="">
                    {else/}
                    <img src="{$Think.session.stu_auth.avatar}" width="50" alt="">
                    {/if}
                </div>
                <a class="user" style="color:#2e84d4;margin-right: 10px;" href="{:url('index/index/user')}">个人中心</a><a class="user" style="color:#2e84d4;" href="{:url('index/publics/loginout')}">退出登录</a>
            </div>
            {/if}
        </div>
    </div>
</header>
<!--<a href="/index/index/jianyi"><div class="advice"></div></a>-->